home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 550 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  938 b 

  1. Path: vb.franken.de!volker
  2. From: volker@vb.franken.de (Volker Barthelmann)
  3. Subject: Re: Is this a SAS/C bug or have I coded it wrong?
  4. Newsgroups: comp.sys.amiga.programmer
  5. References: <4cfrc5$gsc@misery.millcomm.com> <4cm9kc$kf7@news.isc.rit.edu> <DKu1Cw.93w@unx.sas.com>
  6. X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
  7. Message-ID: <volker.0e5e@vb.franken.de>
  8. Date: 8 Jan 96 23:13:08 MET
  9. Organization: home
  10.  
  11. Doug Walker (walker@twix.unx.sas.com) wrote:
  12. : In article <4cm9kc$kf7@news.isc.rit.edu>,  <mjp3783@alpha.isc.rit.edu> wrote:
  13. : >>   tmpbuf[10];
  14. : >>
  15. : >I assume this was a mis-type and that this should have been:
  16. : >int tmpbuf[10];
  17. :
  18. : Not really, the two are exactly equivalent.  If no type is
  19. : provided on variable's definition in ANSI C, "int" is
  20. : assumed.
  21.  
  22. Are You sure about that? I was under the impression that ANSI C required
  23. at least a type-specifier, type-qualifier or storage-class-specifier for
  24. a declaration.
  25.  
  26. Volker
  27.  
  28.